package com.book.biz.impl;

import java.sql.SQLException;
import java.util.List;

import com.book.bean.OrderListInfo;
import com.book.biz.OrderInfoListBiz;
import com.book.dao.OrderInfoListDao;
import com.book.dao.impl.OrderInfoListDaoImpl;
import com.book.util.DBUtil;


public class OrderInfoListBizImpl implements OrderInfoListBiz {
	OrderInfoListDao oiDao = new OrderInfoListDaoImpl();
	@Override
	public List<OrderListInfo> selectOrderListInfo(int orderid) {
		try {
			return oiDao.selectOrderInfo(orderid);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}finally{
			try {
				DBUtil.closeConn();
			} catch (SQLException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		return null;
		
	}

}
